<template>
	<view class="gui-flex gui-space-between ql-align-center">
		<view class="gui-color-black1 fb" :class="[fsize]">{{title}}</view>
		<view class="gui-color-red fz11" @click="handleClick">{{ctitle}}</view>
	</view>
</template>

<script>
	export default {
		props:{
			fsize:{
				type:String,
				default:"fz14"
			},
			title:{
				type:String,
				default:"历史记录"
			},
			ctitle:{
				type:String,
				default:"清空记录"
			}
		},
		name:"nav",
		data() {
			return {
				
			}
		},
		methods:{
			handleClick(){
				this.$emits("clear")
			}
		}
	}
</script>

<style scoped lang="scss">

</style>